﻿<UserControl x:Class="OI.Views.FeedLinksView"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d">
    
    <Grid x:Name="LayoutRoot" Background="White">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="Auto"/>
            <ColumnDefinition Width="*" />
        </Grid.ColumnDefinitions>
        
        <Grid.RowDefinitions>
            <RowDefinition Height="32" />
            <RowDefinition Height="32" />
            <RowDefinition Height="32" />
            <RowDefinition Height="32" />
            <RowDefinition Height="32" />
            <RowDefinition Height="*" />
        </Grid.RowDefinitions>
        
        <!--FEED TYPES-->
        <TextBlock Text="WMS" Grid.Row="0" Grid.Column="0" FontSize="16" Style="{StaticResource GeneralText}" Margin="8,0,8,0" VerticalAlignment="Center"/>
        <TextBlock Text="REST (Extent)" Grid.Row="1" Grid.Column="0" FontSize="16" Style="{StaticResource GeneralText}" Margin="8,0,8,0" VerticalAlignment="Center"/>
        <TextBlock Text="REST (Quadtree)" Grid.Row="2" Grid.Column="0" FontSize="16" Style="{StaticResource GeneralText}" Margin="8,0,8,0" VerticalAlignment="Center"/>
        <TextBlock Name="GeoRSSHeader" Grid.Row="3" Grid.Column="0" FontSize="16" Style="{StaticResource GeneralText}" Margin="8,0,8,0" VerticalAlignment="Center"/>
        <TextBlock Text="OData" Grid.Row="4" Grid.Column="0" FontSize="16" Style="{StaticResource GeneralText}" Margin="8,0,8,0" VerticalAlignment="Center"/>
        
        <!--LINKS-->
        <HyperlinkButton Name="WMSLink" NavigateUri="{Binding WMSLink}" 
                         TargetName="_blank" Grid.Row="0" Grid.Column="1" Margin="0,0,8,0" VerticalAlignment="Center"/>
        
        <HyperlinkButton Name="RESTLink" NavigateUri="{Binding RESTLink}" 
                         TargetName="_blank" Grid.Row="1" Grid.Column="1" Margin="0,0,8,0" VerticalAlignment="Center"/>

        <HyperlinkButton Name="RESTLinkQuad" NavigateUri="{Binding RESTLinkQuad}" 
                         TargetName="_blank" Grid.Row="2" Grid.Column="1" Margin="0,0,8,0" VerticalAlignment="Center"/>

        <HyperlinkButton Name="GeoRSSLinkUri" NavigateUri="{Binding GeoRSSLinkUri}" 
                         TargetName="_blank" Grid.Row="3" Grid.Column="1" Margin="0,0,8,0" VerticalAlignment="Center"/>

        <HyperlinkButton Name="ODataLink" NavigateUri="{Binding ODataLink}"
                         TargetName="_blank" Grid.Row="4" Grid.Column="1" Margin="0,0,8,0" VerticalAlignment="Center"/>
        
        <Button Name="Close" Grid.Row="5" Grid.Column="0" Grid.ColumnSpan="2" Content="OK" HorizontalAlignment="Center" Margin="4,24,4,8" Width="48"/>
    </Grid>
</UserControl>
